<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<table>
    <thead>
<tr>
    <th>id</th>
    <th>name</th>
    <th>remark</th>
    <th>createdTime</th>
<th>operation</th>

</tr>
    </thead>
    <tbody>
    <tr th:each="g:${goods}">
        <td th:text="${g.id}"></td>
        <td th:text="${g.name}"></td>
        <td th:text="${g.remark}"></td>
        <td th:text="${#dates.format(g.createdTime,'yyyy/MM/dd HH:mm')}"></td>
        <td><a th:href="@{/goods/doDeleteById(id=${g.id})}">delete</a></td>
        <td></td>
    </tr>
    </tbody>
</table>
</body>
</html>